package com.ruoyi.zsyh.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 售后平台自购配件对象 zsyh_after_parts
 * 
 * @author yuexl
 * @date 2022-08-22
 */
public class ZsyhAfterParts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 平台自购配件Id */
    private String id;

    /** 厂家信息Id */
    @Excel(name = "厂家信息Id")
    private String factoryId;

    /** 产品Id */
    @Excel(name = "产品Id")
    private String partsId;

    /** 配件名称 */
    @Excel(name = "配件名称")
    private String partsName;

    /** 配件型号 */
    @Excel(name = "配件型号")
    private String partsAttribute;

    /** 配件图片 */
    @Excel(name = "配件图片")
    private String partsImages;

    /** 配件描述 */
    @Excel(name = "配件描述")
    private String partsRemarks;

    /** 平台定价 扣除厂家 */
    @Excel(name = "平台定价 扣除厂家")
    private BigDecimal partsPriceFactory;

    /** 平台定价 给师傅 */
    @Excel(name = "平台定价 给师傅")
    private BigDecimal partsPriceRepair;

    /** 状态 0未审核 1已审核 */
    @Excel(name = "状态 0未审核 1已审核")
    private String partsState;

    private String productBrand;

    private String productModel;

    private String productAttribute;

    private String factoryName;

    private String typeName;

    private String isSelfParts;

    private String partsDelState;

    private String productType;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setFactoryId(String factoryId) 
    {
        this.factoryId = factoryId;
    }

    public String getFactoryId() 
    {
        return factoryId;
    }
    public void setPartsId(String partsId) 
    {
        this.partsId = partsId;
    }

    public String getPartsId() 
    {
        return partsId;
    }
    public void setPartsName(String partsName) 
    {
        this.partsName = partsName;
    }

    public String getPartsName() 
    {
        return partsName;
    }
    public void setPartsAttribute(String partsAttribute) 
    {
        this.partsAttribute = partsAttribute;
    }

    public String getPartsAttribute() 
    {
        return partsAttribute;
    }
    public void setPartsImages(String partsImages) 
    {
        this.partsImages = partsImages;
    }

    public String getPartsImages() 
    {
        return partsImages;
    }
    public void setPartsRemarks(String partsRemarks) 
    {
        this.partsRemarks = partsRemarks;
    }

    public String getPartsRemarks() 
    {
        return partsRemarks;
    }
    public void setPartsPriceFactory(BigDecimal partsPriceFactory) 
    {
        this.partsPriceFactory = partsPriceFactory;
    }

    public BigDecimal getPartsPriceFactory() 
    {
        return partsPriceFactory;
    }
    public void setPartsPriceRepair(BigDecimal partsPriceRepair) 
    {
        this.partsPriceRepair = partsPriceRepair;
    }

    public BigDecimal getPartsPriceRepair() 
    {
        return partsPriceRepair;
    }
    public void setPartsState(String partsState) 
    {
        this.partsState = partsState;
    }

    public String getPartsState() 
    {
        return partsState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("factoryId", getFactoryId())
            .append("partsId", getPartsId())
            .append("partsName", getPartsName())
            .append("partsAttribute", getPartsAttribute())
            .append("partsImages", getPartsImages())
            .append("partsRemarks", getPartsRemarks())
            .append("partsPriceFactory", getPartsPriceFactory())
            .append("partsPriceRepair", getPartsPriceRepair())
            .append("partsState", getPartsState())
            .toString();
    }

    public String getProductBrand() {
        return productBrand;
    }

    public void setProductBrand(String productBrand) {
        this.productBrand = productBrand;
    }

    public String getProductModel() {
        return productModel;
    }

    public void setProductModel(String productModel) {
        this.productModel = productModel;
    }

    public String getProductAttribute() {
        return productAttribute;
    }

    public void setProductAttribute(String productAttribute) {
        this.productAttribute = productAttribute;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getIsSelfParts() {
        return isSelfParts;
    }

    public void setIsSelfParts(String isSelfParts) {
        this.isSelfParts = isSelfParts;
    }

    public String getPartsDelState() {
        return partsDelState;
    }

    public void setPartsDelState(String partsDelState) {
        this.partsDelState = partsDelState;
    }

    public String getProductType() {
        return productType;
    }

    public void setProductType(String productType) {
        this.productType = productType;
    }
}
